package org.itboys.trade.constant;
/**
 * 订单常量
 * @author weisky
 *
 */
public class OrderConstant {

	public static final int WAIT_SEND = 1;//待发货
	public static final int WAIT_RECEIVE = 2;// 待收货
	public static final int WAIT_APPRAISE = 3;// 待评价
	public static final int FINISH = 4;// 已完成
	public static final int BACK = -1;//已申请退货
	public static final int BACK_OK = -2;//退货成功
	public static final int BACK_MONEY = -3;//已申请退款
	public static final int BACK_MONEY_OK = -4;//退款成功
	public static final int CANCEL = 0;// 订单已取消
	
	public static final String PARAM_WAIT_SEND = "s";//待发货
	public static final String PARAM_WAIT_RECEIVE = "r";// 待收货
	public static final String PARAM_WAIT_APPRAISE = "a";// 待评价
	public static final String PARAM_FINISH = "f";// 已完成
	public static final String PARAM_BACK = "b";//已申请退货
	public static final String PARAM_BACK_OK = "bo";//退货成功
	public static final String PARAM_BACK_MONEY = "bm";//已申请退款
	public static final String PARAM_BACK_MONEY_OK = "bmo";//退款成功
	public static final String PARAM_CANCEL = "c";// 订单已取消
	
	public static final int FAIL_CODE = -9999;//默认的失败值
}
